package com.packet.service.impl;

import com.packet.mapper.ManagerStaffMapper;
import com.packet.pojo.Staff;
import com.packet.service.ManagerStaffService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ManagerStaffServiceImpl implements ManagerStaffService {
    @Autowired
    private ManagerStaffMapper managerStaffMapper;
    @Override
    public List<Staff> selectManager() {
        return managerStaffMapper.selectManager();
    }

    @Override
    public void chooseManager(Integer sid, Integer id) {
        managerStaffMapper.chooseManager(sid,id);
    }
}
